package com.liner.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liner.model.system.SysMenu;
import com.liner.model.vo.AssginMenuVo;
import com.liner.model.vo.RouterVo;

import java.util.List;

/**
* @author 一条淡水鱼 ゆ
* @description 针对表【sys_menu(菜单表)】的数据库操作Service
* @createDate 2022-12-21 21:40:52
*/
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findNodes();

    void removeMenuById(Long id);

    List<SysMenu> findSysMenuByRoleId(String roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> findUserMenuList(String id);

    List<String> findUserPermsList(String id);
}
